package com.linln.modules.receiverecord.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
* @Project: timo
* @Package com.linln.modules.receiverecord.domain
* @Descriptio
/**
* @Project: timo
* @Package com.linln.modules.receiverecord.domain
* @Description: TODO
* @author : pengliang
* @date Date : 2021年01月09日 15:07
* @version V1.0
*/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tbl_receive_record")
public class ReceiveRecord {
    /**
     * 用户领取记录表id
     */
    @TableId(value = "rr_id", type = IdType.UUID)
    private String rrId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 活动券id
     */
    @TableField(value = "at_id")
    private String atId;

    /**
     * 领取时间
     */
    @TableField(value = "receive_date")
    private String receiveDate;

    /**
     * 扩展字段
     */
    @TableField(value = "props")
    private Object props;

    /**
     * 扩展字段
     */
    @TableField(value = "key",exist = false)
    private String key;
}
